<html>

<head>
	<meta charset="UTF-8"> 
	<script type="text/javascript">

		function onButton(){
			alert("点击按钮事件");
		}
	</script>
    <title>Buton的click事件</title>
</head>

<body>
	<input type="button" value="按钮"
		   onclick="onButton();">
</body>

</html>
